package com.gwnet.cabinet.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author: WangLiang
 * @date: 2024/7/22 10:42
 */
@Data
@Component
public class ApiConfig {

    /**
     * api地址
     */
    @Value("${takeout-cabinet.baseUrl}")
    private String baseUrl;

    /**
     * 用户名
     */
    @Value("${takeout-cabinet.username}")
    private String username;

    /**
     * 密码
     */
    @Value("${takeout-cabinet.password}")
    private String password;

}
